export default {
    data() {
        return {}
    },
    computed: {},
    methods: {
        findDictData(params, callBack, setData = true) {
            this.$api.engineer.findDictData(params).then((res) => {
                if (res.code === 200 && setData) {
                    this[params.dicItem + 's'] = res.data
                }
                if (callBack) callBack(res)
            })
        }
    }
}